package beh2param;

/**
 * Created by apple on 2018/6/12.
 * stragety
 */
public class AppleGreenColorPredicate implements ApplePredicate {
    @Override
    public boolean test(Apple apple) {
        return "green".equals(apple.getColor());
    }
}
